package com.cqhfan.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author 眭传洪
 * @create 2025-08-16 1:38
 */
@Getter
public enum MessageTypeEnum {
    TEXT(1, "文本消息"),
    PICTURE(2, "图片"),
    ViDEO(3, "视频"),
    EMOJI(4, "表情包"),
    CREATE_GROUP(5, "创建群聊"),
    SYSTEM_MESSAGE(6, "系统消息"),
    TOGETHER_WATCH(7, "一起看"),
    ;

    MessageTypeEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @JsonValue
    @EnumValue
    final Integer value;

    final String desc;
}
